package com.tqjc.system.C24012.common.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @Author: 86195
 * @CreateTime: 2024-07-10  16:06
 * @Description: TODO
 * @Version: 1.0
 */
@TableName("tqjc_zy_task")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SysTaskEntity {

    //主键
    @TableId(type = IdType.UUID)
    private Long id;

    //任务类型
    private String taskType;

    //关联主键
    private Long relationMsgId;

    //任务状态
    private String taskStatus;

    //钢件长度
    private Integer steelPartLength;

    //钢件宽度
    private Integer steelPartWidth;

    //刚健厚度
    private Integer steelPartThickness;

    //开始时间
    private LocalDateTime beginTime;

    //结束时间
    private LocalDateTime endTime;

    //零件号
    private String partNo;

    //构件号
    private String componentNo;

    @TableField(value="CREATE_NAME", fill= FieldFill.INSERT)
    private String createName;

    @TableField(value="CREATE_DATE", fill=FieldFill.INSERT)
    private LocalDateTime createDate;

    @TableField(value="UPDATE_NAME", fill=FieldFill.UPDATE)
    private String updateName;

    @TableField(value="UPDATE_DATE", fill=FieldFill.UPDATE)
    private LocalDateTime updateDate;

}
